//
//  ComplaintModel.m
//  wtshoppingcite
//
//  Created by TW on 15-1-9.
//  Copyright (c) 2015年 TW. All rights reserved.
//

#import "ComplaintModel.h"

@implementation ComplaintModel

- (id)initWithComplaintList:(NSDictionary *)info{
    
    if(self = [super init]){
        id content = [info objectForKey:@"content"];
        self.content = ObjToString(content);
        
        id createTime = [info objectForKey:@"createTime"];
        self.createTime = ObjToString(createTime);
        
        id complaintId = [info objectForKey:@"id"];
        self.complaintId = ObjToString(complaintId);
        
        id isShare = [info objectForKey:@"isShare"];
        self.isShare = ObjToString(isShare);
        
        id smallImgPath = [info objectForKey:@"smallImgPath"];
        self.smallImgPath = ObjToString(smallImgPath);
        
        id state = [info objectForKey:@"state"];
        self.state = ObjToString(state);
        
        id title = [info objectForKey:@"title"];
        self.title = ObjToString(title);
    }
    return self;
}

@end
